﻿using System;
using Eagles.Application.Model.Enums;

namespace Eagles.DomainService.Model.User
{
    /// <summary>
    /// TB_USER_NEWS
    /// </summary>
    public class TbUserNews
    {
        public int BranchId { get; set; }
        public string BranchName { get; set; }
        public string BranchReview { get; set; }
        public DateTime CreateTime { get; set; }
        public string HtmlContent { get; set; }
        public int NewsId { get; set; }
        public NewsEnum NewsType { get; set; }
        public string ImageUrl { get; set; }
        public int OrgId { get; set; }
        public string OrgReview { get; set; }
        public int ReviewId { get; set; }
        public int RewardsScore { get; set; }
        public string Status { get; set; }
        public string Title { get; set; }
        public int UserId { get; set; }
        public string Name { get; set; }
        public int ToUser { get; set; }
        public string ToUserName { get; set; }
        public int ViewsCount { get; set; }
        public int IsPublic { get; set; }
        public DateTime PublicTime { get; set; }
        public int ViewCount { get; set; }
        public string Introducer { get; set; }
        public string BookName { get; set; }
        public string BookAuthor { get; set; }
        /// <summary>
        /// 附件1
        /// </summary>
        public string Attach1 { get; set; }
        /// <summary>
        /// 附件2
        /// </summary>
        public string Attach2 { get; set; }
        /// <summary>
        /// 附件3
        /// </summary>
        public string Attach3 { get; set; }
        /// <summary>
        /// 附件4
        /// </summary>
        public string Attach4 { get; set; }
        /// <summary>
        /// 附件1类型;0:图片;1:其他
        /// </summary>
        public string AttachName1 { get; set; }
        /// <summary>
        /// 附件1类型;0:图片;1:其他
        /// </summary>
        public string AttachName2 { get; set; }
        /// <summary>
        /// 附件1类型;0:图片;1:其他
        /// </summary>
        public string AttachName3 { get; set; }
        /// <summary>
        /// 附件1类型;0:图片;1:其他
        /// </summary>
        public string AttachName4 { get; set; }
        
        /// <summary>
        /// 点赞数量
        /// </summary>
        public int LikeCount { get; set; }

        /// <summary>
        /// 收藏数量
        /// </summary>
        public int FavoritesCount { get; set; }
    }
}